package com.xiaoyy.core.common.vo;

import java.io.Serializable;
import java.util.List;

public class AntTreeVO implements Serializable {
    /***
     * 唯一key
     */
    private String key;
    /***
     * 展示的标题
     */
    private String title;
    /***
     * 搜索用
     */
    private String value;
    /***
     *是否禁用
     */
    private Boolean disabled;
    /***
     *禁掉 checkbox
     */
    private Boolean disableCheckbox;
    /***
     * 是否是叶子节点
     */
    private Boolean isLeaf;
    /***
     * 图标
     */
    private String icon;
    /***
     * 是否可选
     */
    private Boolean selectable;
    /**
     * 样式
     * */
    private Object style;
    /**
     * 样式
     * */
    private String classType;
    /***
     * 使用 treeData 时，可以通过该属性配置支持 slot 的属性，如 scopedSlots: { title: 'XXX'}
     */
    private Object scopedSlots;

    /***
     * 父类key
     */
    private String parentKey;
    /**
     * 节点类型 0 节点 1 叶子
     */
    private String nodeType;
    /**
     * 子信息
     */
    private List<AntTreeVO> children;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean getDisabled() {
        return disabled;
    }

    public void setDisabled(Boolean disabled) {
        this.disabled = disabled;
    }

    public Boolean getDisableCheckbox() {
        return disableCheckbox;
    }

    public void setDisableCheckbox(Boolean disableCheckbox) {
        this.disableCheckbox = disableCheckbox;
    }

    public Boolean getLeaf() {
        return isLeaf;
    }

    public void setLeaf(Boolean leaf) {
        isLeaf = leaf;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getSelectable() {
        return selectable;
    }

    public void setSelectable(Boolean selectable) {
        this.selectable = selectable;
    }

    public Object getStyle() {
        return style;
    }

    public void setStyle(Object style) {
        this.style = style;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }

    public List<AntTreeVO> getChildren() {
        return children;
    }

    public void setChildren(List<AntTreeVO> children) {
        this.children = children;
    }

    public String getParentKey() {
        return parentKey;
    }

    public void setParentKey(String parentKey) {
        this.parentKey = parentKey;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Object getScopedSlots() {
        return scopedSlots;
    }

    public void setScopedSlots(Object scopedSlots) {
        this.scopedSlots = scopedSlots;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }
}
